package echat.future.cn.echat.home.network

import com.zhusx.core.interfaces.IHttpResult
import com.zhusx.core.network.HttpRequest
import com.zhusx.core.network.OnHttpLoadingListener

open class SimpleHttpListener<M> : OnHttpLoadingListener<LoadData.Api, IHttpResult<M>, Any> {
    override fun onLoadStart(api: LoadData.Api, request: HttpRequest<Any>) {}

    override fun onLoadError(api: LoadData.Api, request: HttpRequest<Any>, result: IHttpResult<M>?, b: Boolean, error: String) {}

    override fun onLoadComplete(api: LoadData.Api, request: HttpRequest<Any>, result: IHttpResult<M>) {}
}
